#define _CRT_SECURE_NO_WARNINGS 1
#include "Sort.h"


InsertTest()
{
	int a[] = { 5,7,4,3,2,9,6,1,8,5,10 };
	Print(a, sizeof(a) / sizeof(int));
	InsertSort(a, sizeof(a) / sizeof(int));
	Print(a, sizeof(a) / sizeof(int));
}

ShellTest()
{
	int a[] = { 5,7,4,3,2,9,6,1,8,5,10 };
	Print(a, sizeof(a) / sizeof(int));
	ShellSort(a, sizeof(a) / sizeof(int));
	Print(a, sizeof(a) / sizeof(int));

}

void SelectTest()
{
	int a[] = { 0,1,2,6,5,3,3,7,8,9 };
	Print(a, sizeof(a) / sizeof(int));
	SelectSort(a, sizeof(a) / sizeof(int));
	Print(a, sizeof(a) / sizeof(int));

}

void HeapTest()
{
	int a[] = { 0,1,2,6,5,3,3,7,8,9 };
	Print(a, sizeof(a) / sizeof(int));
	HeapSort(a, sizeof(a) / sizeof(int));
	Print(a, sizeof(a) / sizeof(int));
	
}
void BubbleTest()
{

	int a[] = { 0,1,2,6,5,3,3,7,8,9 };
	Print(a, sizeof(a) / sizeof(int));
	BubbleSort(a, sizeof(a) / sizeof(int));
	Print(a, sizeof(a) / sizeof(int));

}

int main()
{
	//InsertTest();
	//ShellTest();
	//SelectTest();
	HeapTest();
//	BubbleTest();
	return 0;
}